import java.util.Scanner;

public class domo7 {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int rows=input.nextInt();
		
		for (int i = 1; i <= rows; i++) {
			for (int j = 1; j <=rows-i; j++) {
				System.out.print(" ");
			}
			for (int j = 1; j <= i*2-1; j++) {
				System.out.print("*");
			}
			System.out.println("");
		}
	}

}
